package cn.wbu.zyh.dto;

import cn.wbu.zyh.entity.Annotation;
import cn.wbu.zyh.entity.ArticleTag;
import cn.wbu.zyh.entity.Tag;
import cn.wbu.zyh.entity.TeamArticle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
public class ArticleDTO {
    private Long id;
    private String title;
    private String body;
    private String createdUser;
    private Integer isPublished;
    private List<ArticleTag> articleTags = new ArrayList<>();
    private List<Annotation> annotations = new ArrayList<>();
    private List<TeamArticle> teamArticle;
}
